package com.example.demo.com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UserController {

    @GetMapping("/hello")
    public String the(Model model){
        model.addAttribute("msg","hello,thymeleaf");
        return "msg";
    }
}
